<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h2>设计师</h2>
<form action="${pageContext.request.contextPath}/test/roleSubmit.do" method="post">
<select name="role">
	<c:if test="roleMap!=null">
	<c:forEach items="${rolesMap }" var="roles">
		<option value="${roles.key }">${roles.value }</option>		
	</c:forEach>
	</c:if>	
</select>

<input type="text" name = "type_code" value="${type_code}">
<input type="submit" name = "提交"><br>
<!-- <script type="text/javascript">
	alert("${type_code}");
</script> -->
</form>
</body>
</html>
